﻿<%@ Page Language="C#" MasterPageFile="~/Pages/MasterPage.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Pages_Login" Title="Untitled Page" %>

<%@ Register src="../Controls/LoginClient.ascx" tagname="LoginClient" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
   <title>Imagevn upload and printing pro</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="titleClient">
<h1>Login/Register</h1>
</div>
<div class="contentClient">
    <div id="ClientLogin">
        <div style="border-bottom:solid 1px gray; padding:0px 0px 0px 10px">
            <h2>Login</h2> 
        </div>
        <div style="padding:20px">
            <table style="width: 400px;line-height:25px">    
                <tr>
                    <td>
                        
                    </td>
                    <td>
                        <asp:Label ID="lblError" runat="server" 
                        Text="Username or Password incorrect" ForeColor="Red" Visible="False"></asp:Label> 
                    </td>
                </tr>
                <tr>
                    <td>
                        Username:
                    </td>
                    <td>
                        <asp:TextBox ID="txtUsername" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        
                    </td>
                    <td>
                        <asp:RequiredFieldValidator
                            ID="RequiredFieldValidator3" runat="server" ErrorMessage="* Username is not empty" Display="Dynamic" ControlToValidate="txtUsername"></asp:RequiredFieldValidator>
                    
                    </td>
                </tr>
                <tr>
                    <td>
                        Password:
                    </td>
                    <td>
                        <asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        
                    </td>
                    <td>
                        <asp:RequiredFieldValidator
                            ID="RequiredFieldValidator1" runat="server" ErrorMessage="* Password is not empty" Display="Dynamic" ControlToValidate="txtPassword"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td >
                        <asp:Button ID="btnLogin" runat="server" Text="Login" Width="80" Height="25" 
                            onclick="btnLogin_Click"/>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        
                    </td>
                    <td>
                        <asp:CheckBox ID="chkCookie" runat="server" /> Save Information
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        
                    </td>
                    <td>
                       
                    </td>
                    <td>
                    
                       
                    </td>
                </tr>
                
            </table>
        </div>
        
    </div>
    <div id="registerClient">
        <div style="border-bottom:solid 1px gray;padding:0px 0px 0px 10px">
        <h2>Register</h2>        
        </div>
        <div style="text-align:center; padding:70px">
            if you don't have account, <a href="../Pages/Register.aspx">Register Here</a>
                
        </div>
    </div>
    <div class="clear"></div>
</div>
      
</asp:Content>

